
#ifndef __TRANSFORMATIONEDITDIALOG_H__
#define __TRANSFORMATIONEDITDIALOG_H__

#include <QDialog>
#include <transformationeditwidget.h>
#include <QPushButton>

class TransformationEditDialog : public QDialog
{
  Q_OBJECT
private:
  TransformationEditWidget _gui;
  QPushButton             *_buttonOk;
  QPushButton             *_buttonReset;
  QPushButton             *_buttonCancel;
private slots:
  void on_buttonOk_clicked ();
  void on_buttonCancel_clicked ();
  void on_buttonReset_clicked ();
public:
  TransformationEditDialog(QWidget *parent = 0);
  
  void UpdateGUI();
  void SetTransformer (ceTransformer* transformer);

  static TransformationEditDialog* Show (QWidget* parent);

signals:
  void TransformationChanged ();
};

#endif // TRANSFORMATIONEDITDIALOG_H
